<script src="src/js/question/keyword_manager.js"></script>
<div class="box">
	<div class="box-header" style="display: inline-block;">
		<h3 class="box-title">关键字列表</h3>
	</div>
	<!--<form class="form-horizontal" style="float: right;margin-right: 2%;">-->
		<!--<div class="box-body">-->
			<!--<div class="form-group">-->
				<!--<label for="keyword" style="margin-right: 20px;margin-left: 5px;">新增关键字</label>-->
				<!--<label>-->
					<!--<input type="text" name="keyword" class="form-control" id="keyword">-->
				<!--</label>-->
				<!--<label style="margin-left: 20px;">-->
					<!--<button style="border: 1px solid #0D1113;color: #0D1113;background: transparent;" type="button" class="btn btn-primary" onclick="addKeyWord();">提交</button>-->
				<!--</label>-->
			<!--</div>-->
		<!--</div>-->
	<!--</form>-->
	<a href="javascript:void(0)" onclick="editKeyword()">
		<button style="float: right;margin-right: 1%;margin-top: 10px;border: 1px solid #0D1113;color: #0D1113;background: transparent;" type="button" class="btn btn-primary">新增关键字</button>
	</a>
	<div class="box-body">
		<table id="keyWordsTable" class="table table-striped table-hover" cellspacing="0" width="100%">
			<thead>
				<tr>
					<th>关键字</th>
					<th>启用状态</th>
					<th>操作</th>
				</tr>
			</thead>
		</table>
	</div>
</div>
<div class="modal fade" tabindex="-1" role="dialog" id="addModal">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">&times;</span>
				</button>
				<h4 class="modal-title">新增关键字</h4>
				<div id="id2" style="display: none;"></div>
			</div>
			<div class="modal-body">
               <textarea id="keyword" rows="3" cols="20" style="width:100%;ertical-align:top">

</textarea>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
				<button type="button" class="btn btn-primary" onclick="addKeyword($('#greetings').val())">确定</button>
			</div>
		</div>
	</div>
</div>
